package com.hsxc.cdz.base.bean;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @author 陈钊
 * @version 创建时间：2016年6月1日 下午4:12:19 类说明：
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Station {

	private ConsoleUser consoleUser;// 该充电站的运营商
	// private List<Pile> piles;//该充电站的所有充电桩

	private int id; // 自增id 用于排序
	private String operatorNO; // 运营商编号
	private String stationNO; // 充电站编号
	private String name; // 充电站名称
	private String address; // 充电站地址
	private String mgrName; // 充电站负责人
	private String regTime; // 注册时间
	private String logoutTime; // 注销时间
	private int state; // 充电站状态 1-使用中 2-锁定 3-废除4-建设中
	private boolean isDelete; // 是否删除
	private String province; // 省
	private String city; // 市
	private String county; // 区县
	private String street; // 街道
	private float longitude; // 经度
	private float latitude; // 纬度

	public static int USING = 1;
	public static int LOCKED = 2;
	public static int ABORLISHED = 3;
	public static int BUILDING = 4;

	// public List<Pile> getPiles() {
	// return piles;
	// }
	// public void setPiles(List<Pile> piles) {
	// this.piles = piles;
	// }
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStationNO() {
		return stationNO;
	}

	public void setStationNO(String stationNO) {
		this.stationNO = stationNO;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMgrName() {
		return mgrName;
	}

	public void setMgrName(String mgrName) {
		this.mgrName = mgrName;
	}

	public String getRegTime() {
		return regTime;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public String getLogoutTime() {
		return logoutTime;
	}

	public void setLogoutTime(String logoutTime) {
		this.logoutTime = logoutTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public boolean isDelete() {
		return isDelete;
	}

	public void setDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	/**
	 * @return the consoleUser
	 */
	public ConsoleUser getConsoleUser() {
		return consoleUser;
	}

	/**
	 * @param consoleUser
	 *            the consoleUser to set
	 */
	public void setConsoleUser(ConsoleUser consoleUser) {
		this.consoleUser = consoleUser;
	}

	/**
	 * @return the operatorNO
	 */
	public String getOperatorNO() {
		return operatorNO;
	}

	/**
	 * @param operatorNO
	 *            the operatorNO to set
	 */
	public void setOperatorNO(String operatorNO) {
		this.operatorNO = operatorNO;
	}

	/**
	 * @return the longitude
	 */
	public float getLongitude() {
		return longitude;
	}

	/**
	 * @param longitude
	 *            the longitude to set
	 */
	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}

	/**
	 * @return the latitude
	 */
	public float getLatitude() {
		return latitude;
	}

	/**
	 * @param latitude
	 *            the latitude to set
	 */
	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

}
